package com.bkck.sharkblockade.levels.lines;

public class Point {
  private float x;
  private float y;
 
  public Point(float x, float y) {
    this.x = x;
    this.y = y;
  }
  
  public Point() {
    
  }
  
  public void setX(float x) {
    this.x = x;
  }
  
  public void setY(float y) {
    this.y = y;
  }
  
  public float getX() {
    return x;
  }
  
  public float getY() {
    return y;
  }
  
  public String toString() {
    return "(" + x + ", " + y + ")";
  }
  
  public boolean sameAs(Point secondPoint) {
    if (secondPoint.getX() == x && secondPoint.getY() == y) {
      return true;
    }
    return false;
  }
}
